PHY SET CLOTH TEARING

Controls if tearing is enabled or disabled for a cloth object.

  Syntax
PHY SET CLOTH TEARING ID, state
  Parameters
ID
Integer
identification number of the cloth object
state
Integer
a value of 1 switches tearing on whereas a value of 0 switches tearing off

  Returns

  Description

When a cloth object is tearable then it can be broken up into smaller pieces by colliding with other objects. Use this command to set the tearing state of the specified cloth object.

  Example Code
No example code is provided for this command